import request from '@/utils/request'
import {
  getToken
} from "@/utils/auth"

// 新增投票(每人每天最多只能为同一个作品投10张票)
export function addVote (data) {
  return request({
    url: '/system/vote/toupiao',
    method: 'post',
    data: data
  })
}

// 微信分享
export function wxconfig (data) {
  return request({
    url: '/system/vote/config?url=' + data,
    method: 'post',
  })
}
